<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">

	<ui:composition template="section/globalTemplate.xhtml">
		
		<ui:define name="pageTitle">Testing TripScheduleDateForm</ui:define>
		
		<ui:define name="pageContent">
			
			<h:form id="tripScheduleDateForm" prependId="false">
				<fieldset id="inputSection">
					<legend>Schedule Information</legend>
					<ol>
						<li>
							<h:outputLabel value="Starting Day: " for="startingDate"></h:outputLabel>
							<h:inputText id="startingDate" value="#{tripScheduleDateTimeForm.startingDate}">
								<f:convertDateTime pattern="dd/MM/yyyy"></f:convertDateTime>
							</h:inputText>
							<h:message for="startingDate"></h:message>
						</li>
						<li>
							<h:outputLabel value="Ending Day: " for="endingDate"></h:outputLabel>
							<h:inputText id="endingDate" value="#{tripScheduleDateTimeForm.endingDate}">
								<f:convertDateTime pattern="dd/MM/yyyy"></f:convertDateTime>
							</h:inputText>
							<h:message for="endingDate"></h:message>
						</li>
						<li>
							<h:outputLabel value="Departure Time: " for="departureTime"></h:outputLabel>
							<h:inputText id="departureTime" value="#{tripScheduleDateTimeForm.departureTime}">
								<f:convertDateTime pattern="hh:mm"></f:convertDateTime>
							</h:inputText>
							<h:message for="departureTime"></h:message>
						</li>
					</ol>
				</fieldset>
				
				<fieldset id="submitSection">
				</fieldset>
			</h:form>
		</ui:define>
	</ui:composition>
</html>